<?php
/**
* Ecommerce Web Content Management System
* @copyright (c) 2011 ewcms team http://www.ewcms.org
* @license  GNU GENERAL PUBLIC LICENSE (GPLv3)
* @author iceweb
*/
define("EW_ROOT",substr(__FILE__,0,-9));
/**
 * 定义项目目录
 */
define("APP_PATH","site");
/**
 * 载入站点配置文件
 */
require EW_ROOT.'source/init/config.php';
/**
 * 载入基本类库
 */
require EW_ROOT.'source/init/base.php';
/**
 * 系统初始化
 */
require EW_ROOT.'source/init/init.php';
/**
 * 载入核心类
 */
require EW_ROOT.'source/core/wsCore.class.php';
$wsCore=new wsCore();
$wsCore->start();